#include <stdio.h>
int main()
{
    int a[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12};

    int(*p)[4] = a;// p = &a[0];

    //*p <==> *(p+0) <==> a[0] <==> p[0]

    printf("%d\n", p[0][0]);
    printf("%d\n", (*(p+2))[2]);//  (*(p+2))[2] ==> (*(&a[2]))[2]  ==> a[2][3]
    printf("%d\n", *(p[1]+2));// *(p[1]+2) ==> *(a[1]+2) ==> *(&a[1][0] + 2) ==> a[1][2]
    printf("%d\n", *(*(p+2)+2)); 
}